package main

import (
	"fmt"
	"github.com/go-redis/redis"
)

func main() {
	client := redis.NewClient(&redis.Options{
		Addr:     "162.14.70.254:6379",
		Password: "123456",
		DB:       2,
	})

	fmt.Println("连接成功", client)
}
